//
//  CustomSortButtonView.h
//  wtshoppingcite
//
//  Created by Baojia-LC on 14/11/21.
//  Copyright (c) 2014年 TW. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CustomViewDelegate <NSObject>

- (void)btnPressed:(NSInteger)sender;

@end

//typedef void(^TouchBtnBlock) (UIButton* button,int index);

@interface CustomSortButtonView : UIView

//@property(nonatomic,copy)TouchBtnBlock block;
@property(nonatomic,assign)id<CustomViewDelegate>delegate;

- (void)initWithItemNames:(NSArray *)itemNames itemImages:(NSArray*)images;
-(void)setItemNames:(NSArray*)itemNames;

@end
